package com.dutao.designpattern.a_factory.abstractfactory;

/**
 * 抽象工厂-不违背开闭原则
 * Created by dutao on 2018/5/4.
 */
public class FactoryTest {

  public static void main(String[] args) {
    Provider provider = new SendMailFactory();
    Sender sender = provider.produce();
    sender.Send();
  }
}
